(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/dos.h>
struct DateStamp * DateStamp()
SYNOPSIS
struct DateStamp * date

LOCATION
In DOSBase at offset 32
FUNCTION
Fills the structure with the current time. Time is measured from Jan 1, 1978.

INPUTS
date
The structure to fill.
RESULT
date->ds_Days is filled with the days from Jan 1, 1978. date->ds_Minute is filled with the number of minutes elapsed in the day. date->ds_Tick is the number of ticks elapsed in the current minute. A tick happens 50 times a second. DateStamp() ensures that the day and minute are consistent. All three elements are zero if the date is unset.

NOTES
The original function could DateStamp() only returns even multiples of 50 ticks.

EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
17.03.1997 digulla
Fixed silly typo
18.02.1997 digulla
Three more functions
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column